package cn.cdutetc.foxwatch.serveice.message;

import cn.cdutetc.foxwatch.exception.MyException;
import cn.cdutetc.foxwatch.pojo.message.MessagePojo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 王勇
 * @ClassName： MailService
 * @ClassPath： cn.cdutetc.foxwatch.serveice.message.MailService
 * @Description：
 * @date 2024/10/5 12:34
 */
public interface MailService extends IService<MessagePojo> {
    void sendMail(MessagePojo messagePojo) throws Exception;

    void sendCode(String recipient) throws MyException;
}
